<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>栅格布局-嵌套</title>
		<link rel="stylesheet" href="../../css/bootstrap.min.css" />
		<style type="text/css">
			.row div{
				background-color: green;
				color: #fff;
				height: 100px;
				border: 1px solid #000;
			}
		</style>
	</head>
	<body>
		<!--
        	每一列里面都可以在嵌套一行和n（不能超过12）列，那嵌套里面的元素就会以父级的宽度为基准，再分12格子。
        -->
		<div class="container" style="border: 1px solid #f00;">
			<div class="row">
				<div class="col-lg-6">
					第1行第1列
					<div class="row">
						<div class="col-lg-4">海淀</div>
						<div class="col-lg-4">朝阳</div>
						<div class="col-lg-4">大兴</div>
					</div>
				</div>
				<div class="col-lg-6">第1行第2列</div>
			</div>
		</div>
		<script type="text/javascript" src="../../js/jquery-2.1.0.js" ></script>
		<script type="text/javascript" src="../../js/bootstrap.min.js" ></script>
	</body>
</html>
